package py.com.alfa.escriba.web.interceptor;


public class DefaultInvocationContext implements InvocationContext {

	private String userPrincipal;
	private Long idEscribano;
	private Long idUserPrincipal;
	
	public DefaultInvocationContext(String userPrincipal, Long idEscribano, Long idUserPrincipal) {
		this.userPrincipal = userPrincipal;
		this.idEscribano = idEscribano;
		this.idUserPrincipal = idUserPrincipal;
	}

	@Override
	public String getUserPrincipal() {
		return userPrincipal;
	}

	@Override
	public Long getIdEscribano() {
		return idEscribano;
	}

	@Override
	public Long getIdUserPrincipal() {
		return idUserPrincipal;
	}
	
}
